/********************************************************************
* Copyright (c) 2013,TGS,All rights reserved.
* fileName:	TextEntity.h	
* created:	2013/07/29 12:06

* version:	1.6
* detail: 
*********************************************************************/

#pragma once

#include "DxfEntity.h"
#include <TGS/GeoMath2.0/Point.h>
#include <QString>


class TextEntity : public DxfEntity
{
public:
	TextEntity(void);
	~TextEntity(void);
public:
	void setText(const QString& text, const Point& pos, double height, double angle);
public:
	virtual Envelope getEnvelope() const;
	virtual void render(RenderContext* renderContext);
	virtual void traslate(const Point& point);
private:
	QString	_text;
	Point	_position;
	double	_angle;
	double	_height;
};

